Work Guidelines: Use-Case-Analysis WorkshopTopicsIntroduction
Performing Use-Case Analysis as a group activity is important in the early iterations as a team-building activity, and to establish a common vision of the architecture of the system. It represents an important transition point in the iteration, as it provides a bridge between the userÆs view of the system (represented by use-cases) and the system designerÆs view of the system (represented, at this point, by analysis classes). In later iterations, or with an experienced team, Use-Case Analysis may be performed more as an individual activity, if at all. When there is a well-formed existing Design model, there may be less value in looking for new objects, since existing classes in the design are likely to account for any system behaviors required by new use cases. Competencies Needed
The workshop should be organized as a brain-storming session, during which a wide range of competence is needed from various areas:
Keep the workshop small: more than 6-7 persons will inhibit the free and open participation of all members. Equipment Needed
Time Needed
Plan on at least a few hours per use case on average. Early on, they will take longer, but the time will go down as the number of new classes drops and the group gains experience. Roles
The following responsibilities occur during the workshop. It is a good idea to rotate the responsibilities and let everybody try all responsibilities.
Running the Workshop
The team steps through the flow of events of the use case. For each behavior identified in the use case, an object is identified that provides the behavior. The object may be an instance of an existing class, or the class may need to be created. The leader draws the collaboration diagram on the white-board, and everybody participates in the discussion. When the use case has been diagrammed, a copy of it on an A3/Legal size paper should be made, using the same colors as the white-board diagram. At the same time, the responsibilities of the objects are documented using A3/Legal paper, in the format described in the section "Tailoring" in Artifact: Analysis Class. Record the responsibilities, events, and classes collaborated with on sticky notes; this will make it easier to move responsibilities around. Drawing Collaboration DiagramsThe following conventions make the diagrams easier to read and work with during the workshop.
Draw one diagram for the basic flow of the use case, and additional diagrams for alternative flows. For simple use cases, a single view may suffice for all. Example Collaboration Diagram for Use Case Authenticate User in an Automatic Teller Machine. |
Rational Unified
Process |